//package com.example.friendfindertwo.dummy;
//
//import java.util.List;
//
//
//import com.example.friendfindertwo.R;
//import com.example.friendfindertwo.R.id;
//import com.example.friendfindertwo.R.layout;
//import com.example.friendfindertwo.R.menu;
//import com.example.friendfindertwo.data.helper.AbstractDAO;
//import com.example.friendfindertwo.data.helper.EventDAO;
//import model.Event;
//
//import android.app.Activity;
//import android.os.Bundle;
//import android.view.Menu;
//import android.view.MenuItem;
//import android.widget.TextView;
//
//public class LocalStorageTestActivity extends Activity {
//
//	@Override
//	protected void onCreate(Bundle savedInstanceState) {
//		super.onCreate(savedInstanceState);
//		setContentView(R.layout.activity_local_storage_test);
//		
////		AbstractDAO.open(getApplicationContext());
////		
////		EventDAO eventDao = new EventDAO();
////		List<Event> events = eventDao.getAllEvents();
////		TextView view = (TextView) findViewById(R.id.storageTest);
////		StringBuffer sb = new StringBuffer();
////		int i=0;
////		for(Event e : events){
////			sb.append(" titel " + i + ": " +e.getTitle());
////			i++;
////		}
////		view.setText(sb.toString());
//		
//		//AbstractDAO.close();
//	}
//
//	@Override
//	public boolean onCreateOptionsMenu(Menu menu) {
//		// Inflate the menu; this adds items to the action bar if it is present.
//		getMenuInflater().inflate(R.menu.local_storage_test, menu);
//		return true;
//	}
//
//	@Override
//	public boolean onOptionsItemSelected(MenuItem item) {
//		// Handle action bar item clicks here. The action bar will
//		// automatically handle clicks on the Home/Up button, so long
//		// as you specify a parent activity in AndroidManifest.xml.
//		int id = item.getItemId();
//		if (id == R.id.action_settings) {
//			return true;
//		}
//		return super.onOptionsItemSelected(item);
//	}
//}
